package moe.oil.exception.user;

import moe.oil.exception.ErrorType;
import moe.oil.exception.ServiceException;
import org.springframework.http.HttpStatus;


public class UserIdNotFoundException extends ServiceException {
    public UserIdNotFoundException(Long id) {
        super(
                String.format("user %d not found", id),
                HttpStatus.NOT_FOUND,
                ErrorType.INVALID,
                id
        );
    }
}
